import React, { Component } from 'react'

import { View } from '@tarojs/components'
import './index.scss'

import titleImg from '../../../assetsImg/images/海报1.jpg'

import Search from '../../comment/searchInpute'

import Line from '../../comment/upLine' 

import RenderBookList from '../../comment/list/booklist'



export default class Index extends Component {

  componentWillMount () { }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }
  
  

  render () {
    const arr = [{src:titleImg,name:'不告诉你'},{src:titleImg,name:'啦啦啦啦啦啦啦啦啦啦啦'},{src:titleImg,name:'不告诉你'},{src:titleImg,name:'不告诉你'},{src:titleImg,name:'不告诉你'}]
    return (
      <View className='index'>
        <Line />
        <Search inputSetting={{placeholder:'请输入书籍名称'}} />
        <RenderBookList bookList={arr} />
      </View>
    )
  }
}
